package routers

import (
	"beego_blog/controllers"

	"github.com/astaxie/beego"
)

func User_init() {
	beego.Router("/user/add", &controllers.UserController{}, "post:Add")
	beego.Router("/user/delete", &controllers.UserController{}, "post:Delete")
	beego.Router("/user/query", &controllers.UserController{}, "post:Query")
	beego.Router("/user/update", &controllers.UserController{}, "post:Update")
	beego.Router("/user/login", &controllers.UserController{}, "post:Login")
}
